package com.tarena.lbs.basic.web.repository;

import com.tarena.lbs.basic.web.mapper.UserTagsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserTagsRepository {
    @Autowired
    private UserTagsMapper userTagsMapper;

    public List<Integer> getTagsByUserId(Integer userId) {
        return userTagsMapper.selectTagIdsByUserId(userId);
    }
}
